[INFO] cloning repository https://github.com/natumn/rhead
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/natumn/rhead" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frhead", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frhead'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5c58a666fe1f4abe8e0d2fcbafe9fabcdea5ebb
[INFO] testing natumn/rhead against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frhead" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/natumn/rhead
[INFO] finished tweaking git repo https://github.com/natumn/rhead
[INFO] tweaked toml for git repo https://github.com/natumn/rhead written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/natumn/rhead on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/natumn/rhead already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 10fdea4b5f0fef03757f3c6590a9ff68ecbf2583e94250b2e8a681bb4b1c082e
[INFO] running `Command { std: "docker" "start" "-a" "10fdea4b5f0fef03757f3c6590a9ff68ecbf2583e94250b2e8a681bb4b1c082e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10fdea4b5f0fef03757f3c6590a9ff68ecbf2583e94250b2e8a681bb4b1c082e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10fdea4b5f0fef03757f3c6590a9ff68ecbf2583e94250b2e8a681bb4b1c082e", kill_on_drop: false }`
[INFO] [stdout] 10fdea4b5f0fef03757f3c6590a9ff68ecbf2583e94250b2e8a681bb4b1c082e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d99a5b8a4038a0813fc8cb5b50d43147fd1f17d5b6cf874f5c476aea1f3cf02
[INFO] running `Command { std: "docker" "start" "-a" "5d99a5b8a4038a0813fc8cb5b50d43147fd1f17d5b6cf874f5c476aea1f3cf02", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling getopts v0.2.15
[INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getopts-0.2.15/src/lib.rs:1033:25
[INFO] [stdout]      |
[INFO] [stdout]  978 |     let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
[INFO] [stdout]      |                       ---------------------------------------- `state` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout]  982 |         state = match (state, whitespace, limit) {
[INFO] [stdout]      |         ----- borrow occurs due to use of `state` in closure
[INFO] [stdout] ...
[INFO] [stdout] 1033 |     while cont && match state { B | C => true, A => false } {
[INFO] [stdout]      |                         ^^^^^ use of borrowed `state`
[INFO] [stdout] 1034 |         machine(&mut cont, (fake_i, ' '));
[INFO] [stdout]      |         ------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0503`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `getopts` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "5d99a5b8a4038a0813fc8cb5b50d43147fd1f17d5b6cf874f5c476aea1f3cf02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d99a5b8a4038a0813fc8cb5b50d43147fd1f17d5b6cf874f5c476aea1f3cf02", kill_on_drop: false }`
[INFO] [stdout] 5d99a5b8a4038a0813fc8cb5b50d43147fd1f17d5b6cf874f5c476aea1f3cf02
